﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/functon.master" AutoEventWireup="true" CodeFile="Add_RoomCategory.aspx.cs" Inherits="Add_RoomCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="stylesheet" href="css/admir.css" />
     <link rel="stylesheet" href="css/astyle.css" />
  <%--  <style type="text/css">
       
    </style>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="admir_l">
        <br />
        <a href="Add_RoomCategory.aspx">增加房间信息</a><br />
        <a href="Search_RoomCatagory.aspx">查看房间信息</a><br />
        <a href="Update_RoomCategory.aspx">更改房间信息</a><br />
        <a href="Delete_RoomCategory.aspx">删除房间信息</a><br />
        <a href="Customers.aspx">查看客户信息</a><br />
        <a href="RoomCustomer.aspx">查看已住客房信息</a><br />
        <a href="RoomStatus.aspx">查看房间状态 </a>
    </div>
    <div class="admir_r">
        <table>
            <tr style="background-color: aquamarine">
                <td class="auto-style3"></td>
                <td class="auto-style2">请输入房价号：</td>
                <td class="auto-style4">
                    <asp:TextBox ID="HM_RCategoryId" runat="server" Height="24px"></asp:TextBox>（必填）
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="HM_RCategoryId" ErrorMessage="房间号必须填写！" Display="Dynamic">*</asp:RequiredFieldValidator>
                    <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="此房间号已经存在！" ControlToValidate="HM_RCategoryId" OnServerValidate="CustomValidator1_ServerValidate">*</asp:CustomValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style3"></td>
                <td class="auto-style2">请输入房间类型：</td>
                <td class="auto-style4">
                    <asp:TextBox ID="HM_RName" runat="server" Height="24px"></asp:TextBox>（必填）
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="HM_RName" ErrorMessage="房间类型必须填写！" Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr style="background-color: aquamarine">
                <td class="auto-style3"></td>
                <td class="auto-style2">请输入房间面积（平方米）：</td>
                <td class="auto-style4">
                    <asp:TextBox ID="HM_RArea" runat="server" Height="24px"></asp:TextBox>（必填）
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="HM_RArea" ErrorMessage="房间面积必须填写！" Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style3"></td>
                <td class="auto-style2">请输入床位数（个）：</td>
                <td class="auto-style4">
                    <asp:TextBox ID="HM_RBedNum" runat="server" Height="24px"></asp:TextBox>（必填）
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="HM_RBedNum" ErrorMessage="床位数必须填写！" Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr style="background-color: aquamarine">
                <td class="auto-style3"></td>
                <td class="auto-style2">请输入房间价格（元/天）：</td>
                <td class="auto-style4">
                    <asp:TextBox ID="HM_RPrice" runat="server" Height="24px"></asp:TextBox>（必填）
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="HM_RPrice" ErrorMessage="房间价格必须填写！" Display="Dynamic">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style3"></td>
                <td class="auto-style2">空调：</td>
                <td>
                    <asp:RadioButtonList ID="HM_RAirConditionList" runat="server" RepeatColumns="2">
                        <asp:ListItem Selected="True">有</asp:ListItem>
                        <asp:ListItem>无</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr style="background-color: aquamarine">
                <td class="auto-style3"></td>
                <td class="auto-style2">有线电视：</td>
                <td>
                    <asp:RadioButtonList ID="HM_RTVList" runat="server" RepeatColumns="2">
                        <asp:ListItem Selected="True">有</asp:ListItem>
                        <asp:ListItem>无</asp:ListItem>
                    </asp:RadioButtonList></td>
            </tr>
            <tr style="color: red">
                <td colspan="2" style="font-size=24px">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="请按照如下提示信息书写！" Width="440px" Font-Size="24px" />
                </td>
                <td align="right" height="50">
                    <a href="Search_RoomCatagory.aspx" style="font-size: 32px">房间查询页面</a>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="color: darkviolet">
                    <asp:Label ID="Label1" runat="server" Text="努力工作的你是最美的哟！" Height="24px" Font-Size="24px"></asp:Label>
                </td>
                <td style="">
                    <asp:Button ID="Add_Rooms" runat="server" Text="添加" Height="36px" Width="120px" BackColor="YellowGreen" OnClick="Add_Rooms_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" Text="Button" Height="36px" Width="120px" BackColor="YellowGreen" />
                </td>
            </tr>
        </table>
    </div>

</asp:Content>

